package com.briup.cms.domain.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
*
* @TableName cms_subcomment
*/
@Data
public class Subcomment implements Serializable {

    /**
    * id
    */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
    * 评论内容
    */
    private String content;
    /**
    * 发布时间
    */
    private LocalDateTime publishTime;
    /**
    * 品论所属用户
    */
    private Long userId;
    /**
    * 一级评论id
    */
    private Long parentId;
    /**
    * 回复评论id
    */
    private Long replyId;
    /**
    * 删除状态 0未删除 1删除
    */
    private Integer deleted;
}

